package com.castle.fortress.admin.oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.castle.fortress.admin.oa.entity.DateHolidayEntity;
import com.castle.fortress.admin.oa.dto.DateHolidayDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.Map;
import java.util.List;

/**
 * 日期节假日表 服务类
 *
 * @author whc
 * @since 2022-11-04
 */
public interface DateHolidayService extends IService<DateHolidayEntity> {

    /**
     * 分页展示日期节假日表列表
     * @param page
     * @param dateHolidayDto
     * @return
     */
    IPage<DateHolidayDto> pageDateHoliday(Page<DateHolidayDto> page, DateHolidayDto dateHolidayDto);


    /**
     * 展示日期节假日表列表
     * @param dateHolidayDto
     * @return
     */
    List<DateHolidayDto> listDateHoliday(DateHolidayDto dateHolidayDto);

}
